OPC Studio User's Guide and Reference
GuidSet Constructor(IEnumerable<Guid>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.Specialized Namespace > GuidSet Class > GuidSet Constructor : GuidSet Constructor(IEnumerable<Guid>)
The collection whose elements are copied to the new set.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the GuidSet class contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.
Syntax
'Declaration
 
Public Function New( _
   ByVal collection As IEnumerable(Of Guid) _
)
'Usage
 
Dim collection As IEnumerable(Of Guid)
 
Dim instance As New GuidSet(collection)
public GuidSet( 
   IEnumerable<Guid> collection
)
public:
GuidSet( 
   IEnumerable<Guid>^ collection
)

Parameters

collection
The collection whose elements are copied to the new set.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also